/********************************************************************************
** Form generated from reading UI file 'settingsdialog.ui'
**
** Created: Tue Jan 11 16:42:58 2011
**      by: Qt User Interface Compiler version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_SETTINGSDIALOG_H
#define UI_SETTINGSDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_settingsDialog
{
public:
    QHBoxLayout *horizontalLayout;
    QGridLayout *gridLayout;
    QLabel *label;
    QComboBox *portNameComboBox;
    QLabel *label_2;
    QComboBox *baudRateComboBox;
    QLabel *label_3;
    QComboBox *dateBitsComboBox;
    QLabel *label_4;
    QComboBox *parityComboBox;
    QLabel *label_5;
    QComboBox *stopBitsComboBox;
    QLabel *label_6;
    QComboBox *streamControlComboBox;
    QLabel *label_7;
    QComboBox *timeOutComboBox;
    QVBoxLayout *verticalLayout;
    QPushButton *setDefaultBtn;
    QSpacerItem *verticalSpacer;
    QPushButton *okBtn;
    QPushButton *cancelBtn;
    QPushButton *applyBtn;

    void setupUi(QDialog *settingsDialog)
    {
        if (settingsDialog->objectName().isEmpty())
            settingsDialog->setObjectName(QString::fromUtf8("settingsDialog"));
        settingsDialog->setEnabled(true);
        settingsDialog->resize(472, 274);
        QFont font;
        font.setFamily(QString::fromUtf8("\345\215\216\346\226\207\346\226\260\351\255\217"));
        font.setPointSize(18);
        font.setBold(true);
        font.setWeight(75);
        settingsDialog->setFont(font);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/setting/settings.png"), QSize(), QIcon::Normal, QIcon::Off);
        settingsDialog->setWindowIcon(icon);
        settingsDialog->setWindowOpacity(1);
        horizontalLayout = new QHBoxLayout(settingsDialog);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(settingsDialog);
        label->setObjectName(QString::fromUtf8("label"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);

        gridLayout->addWidget(label, 0, 0, 1, 1);

        portNameComboBox = new QComboBox(settingsDialog);
        portNameComboBox->setObjectName(QString::fromUtf8("portNameComboBox"));
        sizePolicy.setHeightForWidth(portNameComboBox->sizePolicy().hasHeightForWidth());
        portNameComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(portNameComboBox, 0, 1, 1, 1);

        label_2 = new QLabel(settingsDialog);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        gridLayout->addWidget(label_2, 1, 0, 1, 1);

        baudRateComboBox = new QComboBox(settingsDialog);
        baudRateComboBox->setObjectName(QString::fromUtf8("baudRateComboBox"));
        sizePolicy.setHeightForWidth(baudRateComboBox->sizePolicy().hasHeightForWidth());
        baudRateComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(baudRateComboBox, 1, 1, 1, 1);

        label_3 = new QLabel(settingsDialog);
        label_3->setObjectName(QString::fromUtf8("label_3"));

        gridLayout->addWidget(label_3, 2, 0, 1, 1);

        dateBitsComboBox = new QComboBox(settingsDialog);
        dateBitsComboBox->setObjectName(QString::fromUtf8("dateBitsComboBox"));
        sizePolicy.setHeightForWidth(dateBitsComboBox->sizePolicy().hasHeightForWidth());
        dateBitsComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(dateBitsComboBox, 2, 1, 1, 1);

        label_4 = new QLabel(settingsDialog);
        label_4->setObjectName(QString::fromUtf8("label_4"));

        gridLayout->addWidget(label_4, 3, 0, 1, 1);

        parityComboBox = new QComboBox(settingsDialog);
        parityComboBox->setObjectName(QString::fromUtf8("parityComboBox"));
        sizePolicy.setHeightForWidth(parityComboBox->sizePolicy().hasHeightForWidth());
        parityComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(parityComboBox, 3, 1, 1, 1);

        label_5 = new QLabel(settingsDialog);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        gridLayout->addWidget(label_5, 4, 0, 1, 1);

        stopBitsComboBox = new QComboBox(settingsDialog);
        stopBitsComboBox->setObjectName(QString::fromUtf8("stopBitsComboBox"));
        sizePolicy.setHeightForWidth(stopBitsComboBox->sizePolicy().hasHeightForWidth());
        stopBitsComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(stopBitsComboBox, 4, 1, 1, 1);

        label_6 = new QLabel(settingsDialog);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        gridLayout->addWidget(label_6, 5, 0, 1, 1);

        streamControlComboBox = new QComboBox(settingsDialog);
        streamControlComboBox->setObjectName(QString::fromUtf8("streamControlComboBox"));
        sizePolicy.setHeightForWidth(streamControlComboBox->sizePolicy().hasHeightForWidth());
        streamControlComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(streamControlComboBox, 5, 1, 1, 1);

        label_7 = new QLabel(settingsDialog);
        label_7->setObjectName(QString::fromUtf8("label_7"));

        gridLayout->addWidget(label_7, 6, 0, 1, 1);

        timeOutComboBox = new QComboBox(settingsDialog);
        timeOutComboBox->setObjectName(QString::fromUtf8("timeOutComboBox"));
        sizePolicy.setHeightForWidth(timeOutComboBox->sizePolicy().hasHeightForWidth());
        timeOutComboBox->setSizePolicy(sizePolicy);

        gridLayout->addWidget(timeOutComboBox, 6, 1, 1, 1);


        horizontalLayout->addLayout(gridLayout);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        setDefaultBtn = new QPushButton(settingsDialog);
        setDefaultBtn->setObjectName(QString::fromUtf8("setDefaultBtn"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(setDefaultBtn->sizePolicy().hasHeightForWidth());
        setDefaultBtn->setSizePolicy(sizePolicy1);

        verticalLayout->addWidget(setDefaultBtn);

        verticalSpacer = new QSpacerItem(100, 110, QSizePolicy::Minimum, QSizePolicy::Preferred);

        verticalLayout->addItem(verticalSpacer);

        okBtn = new QPushButton(settingsDialog);
        okBtn->setObjectName(QString::fromUtf8("okBtn"));
        sizePolicy1.setHeightForWidth(okBtn->sizePolicy().hasHeightForWidth());
        okBtn->setSizePolicy(sizePolicy1);
        okBtn->setDefault(true);

        verticalLayout->addWidget(okBtn);

        cancelBtn = new QPushButton(settingsDialog);
        cancelBtn->setObjectName(QString::fromUtf8("cancelBtn"));
        sizePolicy1.setHeightForWidth(cancelBtn->sizePolicy().hasHeightForWidth());
        cancelBtn->setSizePolicy(sizePolicy1);

        verticalLayout->addWidget(cancelBtn);

        applyBtn = new QPushButton(settingsDialog);
        applyBtn->setObjectName(QString::fromUtf8("applyBtn"));
        sizePolicy1.setHeightForWidth(applyBtn->sizePolicy().hasHeightForWidth());
        applyBtn->setSizePolicy(sizePolicy1);

        verticalLayout->addWidget(applyBtn);


        horizontalLayout->addLayout(verticalLayout);

#ifndef QT_NO_SHORTCUT
        label->setBuddy(portNameComboBox);
        label_2->setBuddy(baudRateComboBox);
        label_3->setBuddy(dateBitsComboBox);
        label_4->setBuddy(parityComboBox);
        label_5->setBuddy(stopBitsComboBox);
        label_6->setBuddy(streamControlComboBox);
        label_7->setBuddy(timeOutComboBox);
#endif // QT_NO_SHORTCUT

        retranslateUi(settingsDialog);
        QObject::connect(cancelBtn, SIGNAL(clicked()), settingsDialog, SLOT(reject()));
        QObject::connect(okBtn, SIGNAL(clicked()), settingsDialog, SLOT(accept()));

        QMetaObject::connectSlotsByName(settingsDialog);
    } // setupUi

    void retranslateUi(QDialog *settingsDialog)
    {
        settingsDialog->setWindowTitle(QApplication::translate("settingsDialog", "\350\256\276\347\275\256", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("settingsDialog", "&Port:", 0, QApplication::UnicodeUTF8));
        label_2->setText(QApplication::translate("settingsDialog", "&BaudRate:", 0, QApplication::UnicodeUTF8));
        baudRateComboBox->clear();
        baudRateComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "115200", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "57600", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "9600", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "19200", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "600", 0, QApplication::UnicodeUTF8)
        );
        label_3->setText(QApplication::translate("settingsDialog", "&DataBits:", 0, QApplication::UnicodeUTF8));
        dateBitsComboBox->clear();
        dateBitsComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "8", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "7", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "6", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "5", 0, QApplication::UnicodeUTF8)
        );
        label_4->setText(QApplication::translate("settingsDialog", "&Parity:", 0, QApplication::UnicodeUTF8));
        parityComboBox->clear();
        parityComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "\346\227\240", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "\345\201\266\346\240\241\351\252\214", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "\345\245\207\346\240\241\351\252\214", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "\346\240\207\350\256\260(win)", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "\347\251\272\346\240\274", 0, QApplication::UnicodeUTF8)
        );
        label_5->setText(QApplication::translate("settingsDialog", "&StopBits:", 0, QApplication::UnicodeUTF8));
        stopBitsComboBox->clear();
        stopBitsComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "1", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "1.5(win)", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "2", 0, QApplication::UnicodeUTF8)
        );
        label_6->setText(QApplication::translate("settingsDialog", "&FlowControl:", 0, QApplication::UnicodeUTF8));
        streamControlComboBox->clear();
        streamControlComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "\346\227\240", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "Xon/Xoff", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "\347\241\254\344\273\266", 0, QApplication::UnicodeUTF8)
        );
        label_7->setText(QApplication::translate("settingsDialog", "&Timeout(ms)\357\274\232", 0, QApplication::UnicodeUTF8));
        timeOutComboBox->clear();
        timeOutComboBox->insertItems(0, QStringList()
         << QApplication::translate("settingsDialog", "400", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "500", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "100", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "50", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "10", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "5", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "1", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "1000", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("settingsDialog", "5000", 0, QApplication::UnicodeUTF8)
        );
        setDefaultBtn->setText(QApplication::translate("settingsDialog", "&Reset", 0, QApplication::UnicodeUTF8));
        okBtn->setText(QApplication::translate("settingsDialog", "&OK", 0, QApplication::UnicodeUTF8));
        cancelBtn->setText(QApplication::translate("settingsDialog", "&Cancel", 0, QApplication::UnicodeUTF8));
        applyBtn->setText(QApplication::translate("settingsDialog", "&Apply", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class settingsDialog: public Ui_settingsDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SETTINGSDIALOG_H
